import { defineComponent } from 'vue';
import { ToThousandsTOOL } from '@/utils';

export default defineComponent({
  name: 'IURCnt',
  props: {
    data: Number,
  },
  render(props) {
    return (
      <div id="IURCnt">
        <img src={require(`@assets/icon_cxy.png`)} />
        <header>产学研载体数</header>
        <aside>
          {props.data || props.data === 0 ? ToThousandsTOOL(props.data) : '-'}
          <span> 家</span>
        </aside>
      </div>
    );
  },
});
